file chooser: Avoid nonworking search+save combinations
authorMatthias Clasen <mclasen@redhat.com>
Sat, 13 Feb 2016 03:05:40 +0000 (22:05 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 13 Feb 2016 03:05:40 +0000 (22:05 -0500)
commit71559c603e8cfdbe7cba03344f244a6ce84545a4
tree80ccc82c771e245d7a25a4e7af1f4c7fa7aba36b
parent811a9b21c1bb226236d2a880f9cbbcbcf6028c2e
file chooser: Avoid nonworking search+save combinations

With the location entry up in the header bar in save mode, we can
end up with the search model being in use when the user types in
the location entry. In this case, we don't make the Save button
sensitive as we should.

Having two entries in the dialog is somewhat confusing anyway,
so just stop the search when the user starts typing in the location
entry.

https://bugzilla.gnome.org/show_bug.cgi?id=761757
gtk/gtkfilechooserwidget.c